/*******************************************************
> Copyright (C) 2024 ==IOT== All rights reserved.
> File Name: test.cpp
> Author: IOT
> Website:www.slq.org
> Created Time: 2024年10月22日 星期二 15时55分59秒
***************************************************/

#include <iostream>
#include <fstream>
#include <string>
#include <vector>
#include <map>
#include <algorithm>

#include "array.h"

using namespace std;
using slq::Array; // 从名字空间slq中导入符号Array(类名)

int main(int argc,const char* argv[])
{
	Array arr1(3);
	arr1.fill(5);
	cout << arr1[0] << endl;

	Array arr2(3);
	arr2.fill(10);
	cout << arr2[0] << endl;
	
	arr1.swap(arr2);
	cout << arr1;
	cout << arr2;
    return 0;
}

